/**
 * 
 */
package com.lk.xiteng.user.service.impl;

import com.lk.xiteng.user.entity.Authority;
import com.lk.xiteng.user.repository.AuthorityRepository;
import com.lk.xiteng.user.service.AuthorityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



/**
 * Authority 服务.
 * 
 * @since 1.0.0 2017年3月30日
 * @author <a href="https://waylau.com">Way Lau</a>
 */
@Service
public class AuthorityServiceImpl  implements AuthorityService {
	
	@Autowired
	private AuthorityRepository authorityRepository;
	
	@Override
	public Authority getAuthorityById(Integer id) {
		return authorityRepository.getOne(id);
	}

}
